package service;

import dao.LabTestDao;
import model.LabTest;
import model.User;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: TM
 * Date: 11/19/12
 * Time: 10:39 PM
 * To change this template use File | Settings | File Templates.
 */
public class LabTestServiceImpl implements LabTestService{

    private LabTestDao labTestDao;

    public LabTestDao getLabTestDao() {
        return labTestDao;
    }

    public void setLabTestDao(LabTestDao labTestDao) {
        this.labTestDao = labTestDao;
    }

    public List<LabTest> viewLabTestList(User user){
        return labTestDao.viewLabTestList(user);

     }

    public LabTest viewLabTestResult(User user, LabTest labTest){
        return   labTestDao.viewLabTestResult(user, labTest);
    }
}
